#ifndef _CAPP_H_
#define _CAPP_H_
 
#include <SDL.h>

#include "CSurface.h"
#include "CEvent.h"

class CApp:public CEvent
{
public:
	CApp();
	int OnExecute();

	bool OnInit();

	void OnEvent(SDL_Event* Event);

	void OnLoop();

	void OnRender();

	void OnCleanup();

	void OnExit();

 private:
 	bool Running;
 	SDL_Window* Surf_Display;
 	SDL_Surface* Surf_Test;
 	SDL_Renderer* Renderer;
 	SDL_Texture* Texture;
};
 
#endif